package com.kindergarten.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author bruce
 * @since 2022-10-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Children extends PagePojo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生名
     */
    private String name;

    /**
     * 性别:1男，0女
     */
    private Integer sex;

    /**
     * 出生年月日
     */
    private Date birthday;

    /**
     * 班级id
     */
    private Integer classId;

    /**
     * 性趣爱好
     */
    private String hobby;

    /**
     * 不爱吃的食物
     */
    private String food;

    /**
     * 入学时间
     */
    private Date entrance;

    private Integer del=0;


    /**
     * 扩展
     */
    @TableField(exist = false)
    private String className;


}
